package com.springcloud.order.service;

import com.springcloud.model.base.Res.BaseRes;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "product")
public interface ProductService {

    @RequestMapping(value = "/product",method = RequestMethod.GET)
    BaseRes getName();

}
